﻿<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="~/Content/CSS/admin/Admin.css?version=3" rel="stylesheet" />
    <link href="~/Content/CSS/admin/Admin_Main.css" rel="stylesheet" />
    <link href="~/Content/CSS/admin/Admin_Menu.css" rel="stylesheet" />
    <link href="~/Content/CSS/admin/tabControl.css" rel="stylesheet" />
    <link href="~/Content/CSS/admin/tabs.css" rel="stylesheet" />
    <link href="~/Content/CSS/button_styles.css" rel="stylesheet" />
    <link href="~/Content/PagedList.css" rel="stylesheet" />
    <script src="~/Scripts/jquery.view.1.8.2.js"></script>
    <script src="~/Scripts/jquery.view.1.8.0.js"></script>
    <script src="~/Scripts/tabControl.js"></script>
    <script src="~/Scripts/jquery-2.0.3.min.js"></script>
    <script src="~/Scripts/jquery-1.4.1.min.js"></script>
    <title>@ViewBag.Title</title>

    @RenderSection("scripts", false)

</head>
<body>
    <div class="admin_head">
        <div class="head_item">
            <b> <a href="~/Home" style="font-size: 26px;color:white;">BABYTOYS</a></b>
            <br />
            <div style="font-size: 16px;margin-bottom:10px;color:white;float:left;">
                <a href="~/Admin" style="font-size: 16px;color:white;">Trang quản trị</a>
            </div>
            @{BabyToys.Models.User u = Session["admin"] as BabyToys.Models.User;}
            @if(Session["admin"]!=null)
            {
            <div style="font-size: 14px; float: right; position: relative; top: 5px;">Xin chào <a href="#" id="show-popup" style="color:#0ff;">@u.TenDangNhap</a>  
                <a href="~/AdminLogin/Logout">Thoát</a>
            </div>
            }
        </div>
    </div>
   <div class="admin_conten">
                <div class="admin_left">
                    @RenderPage("~/Views/Shared/Admin/_AdminMenu.cshtml")
                </div>
                <div class="admin_right"">
                    @RenderBody()
                </div>
    </div>      
    

</body>
</html>

